package com.hxkj.service.wechat;

import com.hxkj.domain.po.*;
import com.platform.common.domain.result.ResultMessageStruct;
import com.platform.common.domain.result.ResultPageStruct;
import com.platform.common.domain.to.PageTo;


/**
 * 业务员关联小程序Service
 * <p>
 * Created by chenfangzhou on 2018/6/6.
 */
public interface AppletAgentService {

    /**
     * 业务员关联小程序
     *
     * @param appletAgent
     * @return
     * @throws Exception
     */
    ResultMessageStruct addAppletToUser(AppletAgent appletAgent) throws Exception;


    ResultMessageStruct removeAppletToUser(AppletAgent appletAgent) throws Exception;


    ResultPageStruct<AuthUserAgent> getAgentList(AuthUserAgent authUserAgent, PageTo pageParam)throws Exception;

    ResultPageStruct<Applet> getAppletList(AppletAgent appletAgent,PageTo pageParam)throws Exception;


    ResultMessageStruct saveAppletArticle(AppletAgent appletAgent) throws Exception;

}
